package com.intellagric.mapper;

import com.intellagric.pojo.AgtComment;
import com.intellagric.pojo.AgtCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtCommentMapper {
    long countByExample(AgtCommentExample example);

    int deleteByExample(AgtCommentExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtComment record);

    int insertSelective(AgtComment record);

    List<AgtComment> selectByExample(AgtCommentExample example);

    AgtComment selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtComment record, @Param("example") AgtCommentExample example);

    int updateByExample(@Param("record") AgtComment record, @Param("example") AgtCommentExample example);

    int updateByPrimaryKeySelective(AgtComment record);

    int updateByPrimaryKey(AgtComment record);
}